package com.atcx.service;

import com.atcx.pojo.Achievement;
import com.atcx.util.PageResult;
import com.atcx.util.QueryPageBean;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pangShu
 * @since 2022-03-23
 */
public interface AchievementService extends IService<Achievement> {

    public int  addAchievement(Achievement achievement);

    public int  deleteAchievement(int id);

    public int  updateAchievement(Achievement achievement);

    public PageResult findByPage(QueryPageBean queryPageBean);

    public Boolean  outputSheet();

    public Map<String,Object> getOneScore(int userId);
}
